package me.zhengjie.modules.xiao.domain.dto;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;


@Data
public class CustomerDTO implements Serializable {



    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "客户电话")
    private String customerTel;

    @ApiModelProperty(value = "客户类型：客户/公海客户")
    private String customerFlag;

    @ApiModelProperty(value = "类型：线索/客户")
    private String flag;

    public void copy(CustomerDTO source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
